package gwtmodule1.client.gui.utils;

import com.google.gwt.user.client.ui.HTML;

public class Title extends HTML {

	public final static String STYLE_NAME = "Title";

	public Title(String title) {
		super();
		setTitle(title);
	}

	public void setTitle(String title) {
		setHTML("<h1 class=\"" + STYLE_NAME + "\">" + title + "</h1>");
	}

}
